﻿using System;
using System.Collections.Generic;
using System.Text;
using JsonFx.Json;


namespace OpenFlashChart
{
    public class YAxisLabels
    {
      
        private IList<string> labels;
        
        [JsonProperty("labels")]
        public IList<string> AxisLabelValues
        {
            get { return labels; }
            set { this.labels = value; }
        }
        [JsonIgnore]
        public IList<string> Values
        {
            set
            {
                if (labels == null)
                    labels = new List<string>();
                foreach (string s in value)
                {
                    labels.Add(s);
                }
                //this.labels = value;
            }
        }
    }
}
